package com.art8173.exception;

/**
 * 班级相关业务异常
 */
public class ClazzException extends RuntimeException {

    // 定义错误信息常量
    public static final String CLAZZ_HAS_STUDENTS = "对不起, 该班级下有学生, 不能直接删除";

    public ClazzException() {
        super();
    }

    public ClazzException(String message) {
        super(message);
    }

    public ClazzException(String message, Throwable cause) {
        super(message, cause);
    }

    public ClazzException(Throwable cause) {
        super(cause);
    }
}
